home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1996 June / MACPOWER-1996-06.ISO.7z / MACPOWER-1996-06.ISO / AMUG / PROGRAMING_7 / LogoMation 1.1.1 / LogoMation 1.1.1 ト / Documentation ト / LogoMation's Reference Manual / LogoMation's Reference Manual.rsrc / PICT_12.png < prev    next >
Portable Network Graphic  |  1995-09-29  |  64KB  |  816x1056  |  8-bit (256 colors)
Labels: text | font | document | letter | screenshot | black and white
OCR: 12 7. The CURVE Statement The CURVE statement supports easy drawing (and animation) along a curve defined parametrically. TheURVE statement has six arguments, the last of which is optional and defaults to 1. The statement looks like CURVE x, y, var, from, to[, step] where var, from, to and step are the same as in theEPEAT statement. In non-animation mode, the CURVE statement loops much like theEPEAT statement, except that this is a one statement loop. The loop's varaable; set tofrom, from+step, .. to. In each of these iterations the expressionand y are evaluated and drawing is made as ifGOTO to that location was executed, with the same pen direction. The fimaTO is done with the pen up. Thus the following are identical: CURVE myX (t) , myY (t), t, 1, 100 UP GOTO myX (1) , myY (1), dir () DO ...